Interview Questions and Answer
Options:
a. $("div".length)
b. $("div").length
c. $"div".length
d. None
Reveal Answer
Options:
a. $("div"),$("p")
b. $("div",$"p")
c. $("div").$("p")
d. $("div",$("p"))
Reveal Answer
Options:
a. $("div").get(2)
b. $("div").get[2]
c. $("div").get{2}
d. None
Reveal Answer
Options:
a. $("div").eq{2}
b. $("div").eq[2]
c. $("div").eq(2)
d. None
Reveal Answer
Options:
a. $(document).ready(function(){
b. $("p:first").css("border",1px solid red)
c. $("p").first().css("border",1px solid red)
d. All
Reveal Answer
Options:
a. <p> my name is sandeep</p>
b. <p class="intro"> I am live in Hyderabad</p>
c. <p class="intro"> I Love in India</p>
d. <p> my best friend is Rahul</p>
Reveal Answer
Options:
a. <p> my name is sandeep</p>
b. <p class="intro"> I am live in Hyderabad</p>
c. <p class="intro"> I Love in India</p>
d. <p> my best friend is Rahul</p>
Reveal Answer
Options:
a. Parent() function search through the whole DOM tree., where parents() function travels only one level in the DOM tree
b. Parent() function travels only one level in the DOM tree, where parents() function search through the whole DOM tree.
c. The both function travels only one level in the DOM tree.
d. The parents() function search through the whole DOM tree.
Reveal Answer
Options:
a. eq() returns the element as jQuery object. get() returns DOM element
b. eq() returns DOM element. get() returns the element as jQuery object
c. Both returns the element as jQuery object.
d. None
Reveal Answer
Options:
a. ("div". find("span")).each(function(){
b. ("div").find("span").each(function(){
c. ("div")find. "span" .each(function(){
d. ("div").find:"span". each(function(){
Reveal Answer
Options:
a. show()
b. Toggle()
c. FadeIn()
d. FadeOut()
Reveal Answer
Bestitcourse google plus

Thank you for visiting BestITCourses, How can I help you

Thank you for visiting BestITCourses, How can I help you